package com.hqyj.ssm.pojo;/*
 * ClassName  User
 * @Author： AJA
 * @Description ：TODO
 *
 * @Date  2022/1/4 16:21
 * @Version 1.0
 **/

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private int userId;
    private String username;
    private String password;
    private int userStatus;

    //角色
    List<Role> roles;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

}
